/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

/**
 *
 * @author William Alves
 */
public class TelaCadastroQuarto extends javax.swing.JInternalFrame {

    /**
     * Creates new form JInternalFrameCadastroQuartos
     */
    public TelaCadastroQuarto() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jtNumero = new javax.swing.JTextField();
        jtValor = new javax.swing.JTextField();
        jScrollPane1 = new javax.swing.JScrollPane();
        jtaDescrição = new javax.swing.JTextArea();
        jComboBox1 = new javax.swing.JComboBox();
        jComboBox2 = new javax.swing.JComboBox();
        jComboBox3 = new javax.swing.JComboBox();
        jbCancelar = new javax.swing.JButton();
        jbSalvar = new javax.swing.JButton();
        jbLimpar = new javax.swing.JButton();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Cadastro de Quartos");
        getContentPane().setLayout(null);

        jLabel1.setText("Categoria : ");
        getContentPane().add(jLabel1);
        jLabel1.setBounds(30, 20, 70, 30);

        jLabel2.setText("Capacidade : ");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(30, 70, 70, 30);

        jLabel3.setText("Numero : ");
        getContentPane().add(jLabel3);
        jLabel3.setBounds(30, 110, 60, 30);

        jLabel4.setText("Andar : ");
        getContentPane().add(jLabel4);
        jLabel4.setBounds(30, 160, 60, 30);

        jLabel6.setText("Descrição : ");
        getContentPane().add(jLabel6);
        jLabel6.setBounds(30, 210, 100, 30);

        jLabel7.setText("Valor : R$");
        getContentPane().add(jLabel7);
        jLabel7.setBounds(310, 140, 70, 40);
        getContentPane().add(jtNumero);
        jtNumero.setBounds(120, 110, 70, 30);

        jtValor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jtValorActionPerformed(evt);
            }
        });
        getContentPane().add(jtValor);
        jtValor.setBounds(390, 140, 110, 40);

        jtaDescrição.setColumns(20);
        jtaDescrição.setRows(5);
        jScrollPane1.setViewportView(jtaDescrição);

        getContentPane().add(jScrollPane1);
        jScrollPane1.setBounds(100, 220, 390, 190);

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "1°", "2°", "3°", "4°", "5°", "6°", "7°", "8°", "9°", "10°", "11°", "12°", "13°", "14°", "15°" }));
        getContentPane().add(jComboBox1);
        jComboBox1.setBounds(120, 160, 70, 30);

        jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Standard", "5 Estrelas", "Suíte Presidencial" }));
        getContentPane().add(jComboBox2);
        jComboBox2.setBounds(120, 20, 130, 30);

        jComboBox3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "2 Pessoas", "4 Pessoas", "6 Pessoas", " " }));
        getContentPane().add(jComboBox3);
        jComboBox3.setBounds(120, 70, 130, 30);

        jbCancelar.setText("Cancelar");
        jbCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbCancelarActionPerformed(evt);
            }
        });
        getContentPane().add(jbCancelar);
        jbCancelar.setBounds(573, 470, 100, 40);

        jbSalvar.setText("Salvar");
        getContentPane().add(jbSalvar);
        jbSalvar.setBounds(320, 470, 100, 40);

        jbLimpar.setText("Limpar");
        jbLimpar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbLimparActionPerformed(evt);
            }
        });
        getContentPane().add(jbLimpar);
        jbLimpar.setBounds(450, 470, 100, 40);

        setBounds(0, 0, 698, 607);
    }// </editor-fold>//GEN-END:initComponents

    private void jtValorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jtValorActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jtValorActionPerformed

    private void jbLimparActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbLimparActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jbLimparActionPerformed

    private void jbCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbCancelarActionPerformed
        
        this.dispose();
    }//GEN-LAST:event_jbCancelarActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JComboBox jComboBox3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JButton jbCancelar;
    private javax.swing.JButton jbLimpar;
    private javax.swing.JButton jbSalvar;
    private javax.swing.JTextField jtNumero;
    private javax.swing.JTextField jtValor;
    private javax.swing.JTextArea jtaDescrição;
    // End of variables declaration//GEN-END:variables
}
